﻿define(function (require, exports, module) {

    var sTpl = require("./index.html");
    require("./index.css");

    var vueComponent = Vue.extend({
        template: sTpl,
        name: 'm-multi-page',
        props: ['innerPage'],
        data: function () {
            return {};
        },
        methods: {
            pageNavClick: function (page) {
                this.$emit('inner-page-add', page);

            },
            pageNavClose: function (page) {
                this.$emit('inner-page-remove', page);
            }
        },
        created: function () {

        }
    });

    Vue.component('m-multi-page', vueComponent); //都全局注册 同时exports
    module.exports = vueComponent;

});

